Optimal. Leaf size=46 \[ \frac {\sec ^6(a+b x)}{6 b}-\frac {\sec ^8(a+b x)}{4 b}+\frac {\sec ^{10}(a+b x)}{10 b} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 46, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.176, Rules used = {2686, 272, 45}
\begin {gather*} \frac {\sec ^{10}(a+b x)}{10 b}-\frac {\sec ^8(a+b x)}{4 b}+\frac {\sec ^6(a+b x)}{6 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 272
Rule 2686
Rubi steps
\begin {align*} \int \sec ^6(a+b x) \tan ^5(a+b x) \, dx &=\frac {\text {Subst}\left (\int x^5 \left (-1+x^2\right )^2 \, dx,x,\sec (a+b x)\right )}{b}\\ &=\frac {\text {Subst}\left (\int (-1+x)^2 x^2 \, dx,x,\sec ^2(a+b x)\right )}{2 b}\\ &=\frac {\text {Subst}\left (\int \left (x^2-2 x^3+x^4\right ) \, dx,x,\sec ^2(a+b x)\right )}{2 b}\\ &=\frac {\sec ^6(a+b x)}{6 b}-\frac {\sec ^8(a+b x)}{4 b}+\frac {\sec ^{10}(a+b x)}{10 b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 38, normalized size = 0.83 \begin {gather*} \frac {10 \sec ^6(a+b x)-15 \sec ^8(a+b x)+6 \sec ^{10}(a+b x)}{60 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.06, size = 60, normalized size = 1.30
method | result | size |
derivativedivides | \(\frac {\frac {\sin ^{6}\left (b x +a \right )}{10 \cos \left (b x +a \right )^{10}}+\frac {\sin ^{6}\left (b x +a \right )}{20 \cos \left (b x +a \right )^{8}}+\frac {\sin ^{6}\left (b x +a \right )}{60 \cos \left (b x +a \right )^{6}}}{b}\) | \(60\) |
default | \(\frac {\frac {\sin ^{6}\left (b x +a \right )}{10 \cos \left (b x +a \right )^{10}}+\frac {\sin ^{6}\left (b x +a \right )}{20 \cos \left (b x +a \right )^{8}}+\frac {\sin ^{6}\left (b x +a \right )}{60 \cos \left (b x +a \right )^{6}}}{b}\) | \(60\) |
risch | \(\frac {\frac {32 \,{\mathrm e}^{14 i \left (b x +a \right )}}{3}-\frac {64 \,{\mathrm e}^{12 i \left (b x +a \right )}}{3}+\frac {192 \,{\mathrm e}^{10 i \left (b x +a \right )}}{5}-\frac {64 \,{\mathrm e}^{8 i \left (b x +a \right )}}{3}+\frac {32 \,{\mathrm e}^{6 i \left (b x +a \right )}}{3}}{b \left ({\mathrm e}^{2 i \left (b x +a \right )}+1\right )^{10}}\) | \(75\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.30, size = 79, normalized size = 1.72 \begin {gather*} -\frac {10 \, \sin \left (b x + a\right )^{4} - 5 \, \sin \left (b x + a\right )^{2} + 1}{60 \, {\left (\sin \left (b x + a\right )^{10} - 5 \, \sin \left (b x + a\right )^{8} + 10 \, \sin \left (b x + a\right )^{6} - 10 \, \sin \left (b x + a\right )^{4} + 5 \, \sin \left (b x + a\right )^{2} - 1\right )} b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 35, normalized size = 0.76 \begin {gather*} \frac {10 \, \cos \left (b x + a\right )^{4} - 15 \, \cos \left (b x + a\right )^{2} + 6}{60 \, b \cos \left (b x + a\right )^{10}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 139 vs.
\(2 (40) = 80\).
time = 5.27, size = 139, normalized size = 3.02 \begin {gather*} -\frac {32 \, {\left (\frac {5 \, {\left (\cos \left (b x + a\right ) - 1\right )}^{3}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{3}} - \frac {10 \, {\left (\cos \left (b x + a\right ) - 1\right )}^{4}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{4}} + \frac {18 \, {\left (\cos \left (b x + a\right ) - 1\right )}^{5}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{5}} - \frac {10 \, {\left (\cos \left (b x + a\right ) - 1\right )}^{6}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{6}} + \frac {5 \, {\left (\cos \left (b x + a\right ) - 1\right )}^{7}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{7}}\right )}}{15 \, b {\left (\frac {\cos \left (b x + a\right ) - 1}{\cos \left (b x + a\right ) + 1} + 1\right )}^{10}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.44, size = 35, normalized size = 0.76 \begin {gather*} \frac {{\mathrm {tan}\left (a+b\,x\right )}^6\,\left (6\,{\mathrm {tan}\left (a+b\,x\right )}^4+15\,{\mathrm {tan}\left (a+b\,x\right )}^2+10\right )}{60\,b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________